package com.md.common.constant;

/**
 * 功能描述：
 *
 * @author lujianping@oak168.com
 * @version 1.0
 * @date 2018-07-12 17:23
 * @since JDK 1.8
 */
public class RedisKeyConst {

    public static final String SEPARATOR = ":";
    public static final String SMS_VALID_CODE= "sms";
    /**key格式：admin:token:${adminId}**/
    public static final String ADMIN_TOKEN_PREFIX = "admin:token:";
    /**key格式：visitor:token:${tokenStr}**/
    public static final String VISITOR_TOKEN_PREFIX = "visitor:token:";
    /**微信公众号服务号接口accessToken**/
    public static final String MP_FWH_ACCESS_TOKEN = "mp:fwh:accessToken";
    /**微信公众号服务号JSAPI ticket**/
    public static final String MP_FWH_JSAPI_TICKET = "mp:fwh:jaApiTicket";
    /**qq互联接口accessToken:qq:connect:accessToken:{code}**/
    public static final String QQ_CONNECT_ACCESS_TOKEN_PREFIX = "qq:connect:accessToken:";
    /**用户登录验证 code**/
    public static final String LOGIN_VERIFYCODE = "login:verifyCode";
    /**退款回调锁key前缀**/
    public static final String REFUND_CALLBACK_LKP = "refund:callback:";
    /**退款锁key前缀**/
    public static final String REFUND_LKP = "refund:";
    /**注册支付平台用户账户锁key前缀**/
    public static final String REGIST_PAY_USER_LKP = "regPayUser:";
    /**用户实名认证回调锁key前缀**/
    public static final String USERAUTH_CALLBACK_LKP = "userAuthCallBack:";
    /**用户绑卡回调锁key前缀**/
    public static final String BINDCARD_CALLBACK_LKP = "bindCardCallBack:";
    /**用户解绑卡锁key前缀**/
    public static final String UNBINDCARD_LKP = "unbindCard:";
    /**支付回调锁key前缀**/
    public static final String DOPAY_CALLBACK_LKP = "doPayCallBack:";
    /**支付锁key前缀**/
    public static final String DOPAY_LKP = "doPay:";
    /**订单支付状态查询锁key前缀**/
    public static final String GET_PAY_STATUS_LKP = "getPayStatus:";
    /**微信公众号支付openid key前缀：wx:mppay:openid:${memberId}**/
    public static final String WX_MPPAY_OPENID_PREFIX = "wx:mppay:openid:";
    /**IDSMed api token有效期24小时：idsmed:api:token**/
    public static final String IDSMED_API_TOKEN = "idsmed:api:token";
    /**数据环境配置：data:env:conf**/
    public static final String DATA_ENV_CONF = "data:env:conf";
}
